<!DOCTYPE html>
<html lang="en" ng-app="route">
<head>
    <meta charset="UTF-8">
    <title>Route</title>
    <link type="text/css" rel="stylesheet" href="../css/bootstrap.min.css"/>
</head>
<body>
<script type="text/javascript" src="../js/angular.min.js"></script>
<script type="text/javascript" src="../js/angular-route.min.js"></script>
<script type="text/javascript" src="../js/route.js"></script>

<div ng-controller="sql as s">
    <input id="show_insert" value="显示插入语句" class="btn btn-default" ng-click="s.switch('insert')" />
    <input id="show_delete" value="显示删除语句" class="btn btn-default" ng-click="s.switch('delete')" />
</div>

<!-- 插入模板 -->
<div ng-view></div>

</body>
</html>